package cn.vinann;

import org.springframework.beans.factory.annotation.Value;

/**
 * 初始化启动加载
 * @author wn
 *
 */
public class CommandLineRunner implements org.springframework.boot.CommandLineRunner{

	@Value("${config}")
	private String config;
	
	@Override
	public void run(String... args) throws Exception {
		System.out.println("通过配置中心读取配置config："+config);
	}

}
